package com.he.projects.custom.enums;


public enum StateEnum {

    /**
     * 系统状态
     */
    VALID("valid", "有效"),
    INVALID("invalid", "无效"),
    FINSH("finish", "团购成功"),
    FINSHCLOSE("finishClose", "团购成功退款关闭"),
    INVALIDCLOSE("invalidClose", "未支付订单开团详情关闭"),
    CLOSE("close", "关闭"),
    DELETE("delete", "删除"),
    OTHER("999", "系统繁忙，请稍后再试");
    private String code;
    private String msg;

    StateEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
